package crawler.common;

import crawler.itf.PostParserItf;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author LT
 */
public class SiteData {
    private String categoryCode;
    private String url;
    private String staticPath;
    private int interval;
    private PostParserItf parser;

    public SiteData(String categoryCode, String url, PostParserItf parser) {
        this.categoryCode = categoryCode;
        this.url = url;
        this.parser = parser;
    }

    public String getUrl() {
        return url;
    }

    public String getStaticPath() {
        return staticPath;
    }

    public int getInterval() {
        return interval;
    }

    public PostParserItf getParser() {
        return parser;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }
    
}
